home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Draw / Sources / DrawClip.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.5 KB  |  55 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                DrawClip.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Author:                Henri Lamiraux
  7. //
  8. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9. //
  10. //========================================================================================
  11.  
  12. #ifndef DRAWCLIP_H
  13. #define DRAWCLIP_H
  14.  
  15. #ifndef FWFCTCLP_H
  16. #include "FWFctClp.h"
  17. #endif
  18.  
  19. //========================================================================================
  20. //    Forward Declarations
  21. //========================================================================================
  22.  
  23. class CDrawPart;
  24.  
  25. //========================================================================================
  26. //    class CDrawFacetClipper
  27. //========================================================================================
  28.  
  29. class CDrawFacetClipper : public FW_CFacetClipper
  30. {
  31. //---------------------------------------------------------------------------------------
  32. //    Initialization/Destruction
  33. //
  34. public:
  35.     CDrawFacetClipper(Environment *ev, CDrawPart* part);
  36.     virtual ~CDrawFacetClipper();
  37.  
  38. //---------------------------------------------------------------------------------------
  39. //    Inherited API
  40. //
  41. public:
  42.     virtual void         ClipEmbeddedFacets(Environment *ev, 
  43.                                 FW_CEmbeddingFrame* embeddingFrame, 
  44.                                 ODFacet* odFacet,
  45.                                 ODShape* limitShape);
  46.     
  47. //---------------------------------------------------------------------------------------
  48. //    Data Members
  49. //
  50. private:
  51.     CDrawPart*            fDrawPart;
  52. };
  53.  
  54. #endif
  55.